package org.app.test.design;

public class Sin {
	private Sin() {
		
	}
	private static class SinTon{
		private static Sin s = new Sin();
	}
	public static Sin getInstance() {
		return SinTon.s;
	}
	
	public static void main(String[] args) {
		Sin s1 = Sin.getInstance();
		Sin s2 = Sin.getInstance();
		System.out.println(s1==s2);
	}
	
}
